package com.tushare.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(schema = "stock_market", value = "hk_hold")
public class HkHold implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private String ts_code;
    @TableField
    private int trade_date;
    @TableField
    private String name; // 股票名称
    @TableField
    private long vol; // 持股数量(股)
    @TableField
    private float ratio; // 持股占比（%），占已发行股份百分比
    @TableField
    private String exchange; // 类型：SH沪股通SZ深股通HK港股通
}
